HRGetPayrollRuns
This workflow uses the Generic RFC Call action to run the /ICORP/RFC_GET_PAYROLL_RUNS function on the SAP system referred to by the RFC Destination parameter. This function retrieves payroll runs for the Employee Number specified in the Employee Number parameter. The results are returned in a Table dataset.
Create RFC Destinations
Before you begin, you will need to create an RFC Destination for the SAP system you wish to analyze. The SAP accounts associated with the RFC Destinations require sufficient authorizations to read the HRPY_RGDIR, in addition to the default authorizations provided with LiveCompare. This may be set in the S_TABU_NAM authorization, using the ACTVT 03 (read), and TABLE HRPY_RGDIR.
Prepare the workflow
To prepare the HRGetPayrollRuns workflow, drag its workflow template from the Templates > Human Resources folder into your own workspace, and modify the workflow as follows:
To specify the system to analyze:
- 
                                                        Select the System 1 parameter and choose Edit RFC Destination from its context menu to display the RFC Destination dialog. 
- 
                                                        Select the RFC Destination for the system to analyze, then click Save. 
Click  to save the workflow.
 to save the workflow.
Run the workflow
To run the HRGetPayrollRuns workflow, click the  toolbar button, choose Run Now from the diagram’s context menu, or select F5. The currently running workflow action is marked with an animated display. When the workflow execution has completed, select the Payroll Runs dataset and choose View Details from the context menu to access the generated report.
 toolbar button, choose Run Now from the diagram’s context menu, or select F5. The currently running workflow action is marked with an animated display. When the workflow execution has completed, select the Payroll Runs dataset and choose View Details from the context menu to access the generated report.